package com.bobmccune.repository;

import com.bobmccune.model.User;

import java.util.List;

/**
 * Contact repository.
 *
 * @author Bob McCune
 */
public interface ContactRepository {

	User findById(Long id, boolean lock);

	List<User> findAll();

	void save(User entity);

	User update(User entity);

	void delete(User entity);

	void flush();
}
